<template>
  <title-tabs right-name="点击" :right-method="rights" :tab-arr="tabsArr"></title-tabs>
</template>
<script>
  import titleTabs from '@/components/titleTabs';

  export default{
    components:{
      'title-tabs':titleTabs
    },
    data(){
      return {
        tabsArr:['标题','标题1','标题2']
      }
    },
    methods:{
      rights(){
        alert('rightMethod');
      }
    }
  }
</script>
